package com.cgnpc.scp.purchase.mybatis.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.cgnpc.scp.common.utils.DateUtil;

import java.util.Date;

@TableName("view_change_demand")
public class ViewChangeDemand {
    private String id;

    private String demandCode;

    private Integer procType;

    private String contractName;

    private String projectName;

    private String serviceName;

    private String specification;

    private Integer num;

    private String unit;

    private String contactUser;

    private String mobile;

    private String applyId;

    private String estimateAmount;

    private String currency;

    private Date requiredArrivalTime;

    private Date plannedCompletionTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getDemandCode() {
        return demandCode;
    }

    public void setDemandCode(String demandCode) {
        this.demandCode = demandCode == null ? null : demandCode.trim();
    }

    public Integer getProcType() {
        return procType;
    }

    public void setProcType(Integer procType) {
        this.procType = procType;
    }

    public String getContractName() {
        return contractName;
    }

    public void setContractName(String contractName) {
        this.contractName = contractName == null ? null : contractName.trim();
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName == null ? null : projectName.trim();
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName == null ? null : serviceName.trim();
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification == null ? null : specification.trim();
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit == null ? null : unit.trim();
    }

    public String getContactUser() {
        return contactUser;
    }

    public void setContactUser(String contactUser) {
        this.contactUser = contactUser == null ? null : contactUser.trim();
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getApplyId() {
        return applyId;
    }

    public void setApplyId(String applyId) {
        this.applyId = applyId == null ? null : applyId.trim();
    }

    public String getEstimateAmount() {
        return estimateAmount;
    }

    public void setEstimateAmount(String estimateAmount) {
        this.estimateAmount = estimateAmount == null ? null : estimateAmount.trim();
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency == null ? null : currency.trim();
    }

    public Date getRequiredArrivalTime() {
        return DateUtil.cloneNewDate(requiredArrivalTime);
    }

    public void setRequiredArrivalTime(Date requiredArrivalTime) {
        this.requiredArrivalTime = DateUtil.cloneNewDate(requiredArrivalTime);
    }

    public Date getPlannedCompletionTime() {
        return DateUtil.cloneNewDate(plannedCompletionTime);
    }

    public void setPlannedCompletionTime(Date plannedCompletionTime) {
        this.plannedCompletionTime = DateUtil.cloneNewDate(plannedCompletionTime);
    }
}